package com.kancy.publicapi.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author kancy
 * @date 2019/12/23 10:35
 **/
@Data
@Component
@ConfigurationProperties("ip")
public class IpProperties {
    @NestedConfigurationProperty
    private Map<String, String> mapping;
}
